home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-06-12 | 872 b | 35 lines |
- INSTALLDIR= $(HOME)/Library/BackSpaceViews
-
- DYNAMODULES= NekoView.BackO
-
- THINGSTOREMOVE= NekoView.o
-
- .SUFFIXES: .m .o .c .psw
- .c.o:
- cc -arch m68k -arch i386 -arch hppa -arch sparc -O -g -Wall -c $*.c -o $*.o
- .m.o:
- cc -arch m68k -arch i386 -arch hppa -arch sparc -O -g -Wall -c $*.m -o $*.o
- .psw.h:
- pswrap -a -h $*.h -o $*.c $*.psw
- .psw.o:
- pswrap -a -h $*.h -o $*.c $*.psw
- cc -arch m68k -arch i386 -arch hppa -arch sparc -O -g -Wall -c $*.c -o $*.o
-
- all::
- $(MAKE) $(DYNAMODULES)
-
- NekoView.BackO: NekoView.o NekoView.h
- ld -arch i386 -x -r -o NekoView.BackO NekoView.o
-
- clean::
- rm -rf $(DYNAMODULES) $(THINGSTOREMOVE)
-
-
- install:: all install-views
-
- install-views::
- mkdirs $(INSTALLDIR)/NekoView.BackModule
- cp NekoView.BackO $(INSTALLDIR)/NekoView.BackModule
- cp -r Neko.nib $(INSTALLDIR)/NekoView.BackModule
- cp -r browncat.tiff $(INSTALLDIR)/NekoView.BackModule
-